package com.neusoft.dibuy.m3elm.demo1;

public   class ColorfulPPrinter extends  Object  implements  IPrinter  , IIO{
    @Override
    public void print(String msg) {
    }

    public static void main(String[] args) {
//        里氏替换原则
        IPrinter printer = new ColorfulPPrinter();
        printer.print("hello");

        IIO io = new ColorfulPPrinter();
        io.input();

        Object o = new ColorfulPPrinter();
    }

    @Override
    public void input() {
    }

    @Override
    public void output() {
    }
}
